
<?php
//上传路径
$path = "../UploadFiles/message.txt"; 
// $_DATA = array_merge($_GET, $_POST);
$msg = $_GET['msg'];//trim(file_get_contents('php://input'));
if(file_put_contents($path, $msg)){
    echo '1';
}else{ echo '0'; }

?>